Force out-of-line instances of inline functions into .init.text in init-only code
authorJan Beulich <jbeulich@novell.com>
Mon, 14 Mar 2011 17:02:50 +0000 (17:02 +0000)
committerJan Beulich <jbeulich@novell.com>
Mon, 14 Mar 2011 17:02:50 +0000 (17:02 +0000)
commit84c4461b7d3a3ea0a082812821018a3e9a9cb12f
tree7fd71ae97572b301ece654a466c6db1ff9232a43
parentd62b3c2276ae4caeb4674fe865061b04f0514e66
Force out-of-line instances of inline functions into .init.text in init-only code

Some compiler versions may choose to not inline certain functions, but
the check introduced in c/s 23003:768269c43914 wants .text to be
empty.

Also make sure an eventual error gets properly propagated even on the
first section of an object (.text typically being the first one), and
cover a broader set of sections.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/Rules.mk
xen/include/xen/compiler.h